FROM openjdk:8-alpine3.9
MAINTAINER docker deploy service practice "godme@nageshei.com"
RUN echo "http://mirrors.aliyun.com/alpine/latest-stable/main/" > /etc/apk/repositories && \
    echo "http://mirrors.aliyun.com/alpine/latest-stable/community/" >> /etc/apk/repositories

RUN apk --update add curl bash tzdata && rm -rf /var/cache/apk/

ENV TZ Asia/Shanghai
ARG RUNNABLE_JAR
COPY ${RUNNABLE_JAR} app.jar
EXPOSE 80
ENTRYPOINT ["java","-jar","/app.jar"]
